package com.project.xsf.mapper;

import com.project.xsf.entity.TAssessQuestion;

import java.util.List;

public interface TAssessQuestionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TAssessQuestion record);

    int insertSelective(TAssessQuestion record);

    TAssessQuestion selectByPrimaryKey(Integer id);

    //查询所有的问题及答案
    List<TAssessQuestion> queryAllQuestion(Integer bankId);

    int updateByPrimaryKeySelective(TAssessQuestion record);

    int updateByPrimaryKey(TAssessQuestion record);
}